package cn.hbu.zlfw.exchange.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.hbu.zlfw.common.base.service.impl.BaseServiceImpl;
import cn.hbu.zlfw.common.util.PageModel;
import cn.hbu.zlfw.exchange.dao.PosterDao;
import cn.hbu.zlfw.exchange.entity.Poster;
import cn.hbu.zlfw.exchange.service.PosterService;
/**
 * 
 * @ClassName: PosterServiceImpl 
 * @Description: 留言板主贴service接口实现
 * @author 王鹏伟<1223443289@qq.com>
 * @date 2017年12月19日 下午9:47:43 
 * @vsersion:v1.0
 */
@Service("posterService")
@Transactional
public class PosterServiceImpl extends BaseServiceImpl<Poster, String> implements PosterService{
	
	@Autowired
	private PosterDao posterDao;
	/*
	 * (non-Javadoc)
	 * @see cn.hbu.zlfw.exchange.service.PosterService#listPostToPatent(java.lang.String)
	 */
	@Override
	public PageModel<Poster> listPostToPatent(PageModel<Poster> pageModel,String patentId,String title) {
		return this.posterDao.listPostToPatent(pageModel,patentId,title);
	}

}
